package com.ht.modules.component.ai.assistants;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.TokenStream;
import dev.langchain4j.service.UserMessage;

public interface Assistant {
    // TODO 将提示词与会话绑定
    @SystemMessage(fromResource = "prompts.txt")
    TokenStream chatStream(@MemoryId String memoryId, @UserMessage String message);
}
